home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
MATHEMAT
/
STATISTI
/
2485.ZIP
/
PIGFOOD.STA
< prev
next >
Wrap
Text File
|
1989-10-10
|
551b
|
15 lines
'A pigfeed merchant has tried out a new ration on 12 pigs and found
'above normal weight gains for each pig (normal weight gains being
'those achieved with the most popular brand); the exact gains in
'ounces are listed in the "Numbers" command line. The merchant
'wishes a confidence interval for the true weight gain figure
'for the population at large. The "Bootstrap" technique is used:
Numbers a 496 544 464 416 512 560 608 544 480 466 512 496
Repeat 100
Sample a 1,12 aa
Sum aa aaa
Divide aaa 12 b
Score b z
End
Graph z